package edu.fdzc.system.service;

import com.github.pagehelper.PageInfo;
import edu.fdzc.system.entity.TestPaper;

import java.text.ParseException;
import java.util.List;

public interface TestPaperService {
    void add(TestPaper testPaper) throws ParseException;

    void updateById(TestPaper testPaper);

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    TestPaper selectById(Integer id);

    void checkTestPaper(Integer id);

    List<TestPaper> selectAll(TestPaper testPaper);

    PageInfo<TestPaper> selectPage(TestPaper testPaper, Integer pageNum, Integer pageSize) throws ParseException;

    List<TestPaper> selectRandom() throws ParseException;
}
